package com.tqjc.system.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @description: 天车安全位置枚举
 * @Author: 86195
 * @Date: 2023/12/20 14:45
 **/
@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum CarSafeIndexEnum {



    WASTE_STEEL_NO_1(CarPLCInfoEnum.WASTE_STEEL_NO_1,new Object[][]{{"DB8.2.0",4,"1号废钢跨天车大车目标坐标","170000"},
            {"DB8.6.0",4,"1号废钢跨天车小车目标坐标","34260"}, {"DB8.10.0",4,"1号废钢跨天车起升目标坐标","9000"},
            {"DB8.0.0",2,"1号废钢跨天车作业类型","3"}, {"DB8.14.0",2,"1号废钢跨天车作业地址","1"},
            {"DB8.46.0",0,"1号废钢跨天车任务运行","true"}},"1号废钢跨天车安全距离"),

    WASTE_STEEL_NO_2(CarPLCInfoEnum.WASTE_STEEL_NO_2,new Object[][]{{"DB8.2.0",4,"2号废钢跨天车大车目标坐标","57000"},
            {"DB8.6.0",4,"2号废钢跨天车小车目标坐标","24163"}, {"DB8.10.0",4,"2号废钢跨天车起升目标坐标","9000"},
            {"DB8.0.0",2,"2号废钢跨天车作业类型","3"}, {"DB8.14.0",2,"2号废钢跨天车作业地址","1"},
            {"DB8.46.0",0,"2号废钢跨天车任务运行","true"}},"2号废钢跨天车安全距离"),

//126000
    DREGS_STEEL_NO_1(CarPLCInfoEnum.DREGS_STEEL_NO_1,new Object[][]{{"DB17.2.0",4,"1号渣钢跨天车大车目标坐标","126000"},
            {"DB17.6.0",4,"1号渣钢跨天车小车目标坐标","12630"}, {"DB17.10.0",4,"1号渣钢跨天车起升目标坐标","9000"},
            {"DB17.0.0",2,"1号渣钢跨天车作业类型","3"}, {"DB17.14.0",2,"1号渣钢跨天车作业地址","1"},
            {"DB17.46.0",0,"1号渣钢跨天车任务运行","true"}},"1号渣钢跨天车安全距离"),


    DREGS_STEEL_NO_2(CarPLCInfoEnum.DREGS_STEEL_NO_2,new Object[][]{{"DB17.2.0",4,"2号渣钢跨天车大车目标坐标","47000"},
            {"DB17.6.0",4,"2号渣钢跨天车小车目标坐标","12630"}, {"DB17.10.0",4,"2号渣钢跨天车起升目标坐标","9000"},
            {"DB17.0.0",2,"2号渣钢跨天车作业类型","3"}, {"DB17.14.0",2,"2号渣钢跨天车作业地址","1"},
            {"DB17.46.0",0,"2号渣钢跨天车任务运行","true"}},"2号渣钢跨天车安全距离");




    /**
     * 天车点位PLC
     */
    private CarPLCInfoEnum carPLCInfoEnum;

    /**
     * 移动点位信息   大车目标坐标[地址,数据类型,label,value] 小车目标坐标[]  起升坐标[] 作业类型[]  作业地址[] 任务运行[]
     */
    private Object[][] safeArray;


    /**
     * 描述
     */
    private String desc;

}
